import type { Prop, PropType } from "vue"

const props = {
	visible: {
		type: Boolean as PropType<boolean>,
		default: false,
	},
	title: {
		type: String as PropType<string>,
		default: "提示",
	},
	width: {
		type: String as PropType<string>,
		default: "50%",
	},
	top: {
		type: String as PropType<string>,
	},
	onClose: {
		type: Function as PropType<() => void>,
	},
}

export default props
